package com.arelikebrothers.demo.springboot.hello;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by lennon on 21/06/2017.
 */
@Component
@ConfigurationProperties(prefix = "person")
@Data
public class PersonBean {
    private String name;
    private int age;
}
